package aino;

import java.io.*;
import java.util.zip.*;

public class Field {
    int accessFlags;
    int nameIndex;
    int descriptorIndex;
    int attributesCount;
    Attribute[] attributes;
    int address;

    public Field(int af, int ni, int di, int ac) {
	accessFlags = af;
	nameIndex = ni;
	descriptorIndex = di;
	attributesCount = ac;
	attributes = new Attribute[ac];
    }

    public void addAttribute(int i, Attribute a) {
	attributes[i] = a;
    }
}
